// 公积金实缴费用表/员工缴纳公积金明细
import request from "@/utils/https/requests";

// 列表
export function billFactGJJList(data: any) {
    return request({
        url: "/billFactGJJ/list", method: "post", data,
    });
}

// 添加
export function postAddBillFactGJJ(data: any) {
    return request({
        url: "/billFactGJJ/postAdd", method: "post", data,
    });
}

// 修改
export function postModBillFactGJJ(data: any) {
    return request({
        url: `/billFactGJJ/postMod/{${data.id}`, method: "post", data,
    });
}

// 删除
export function postDeleteBillFactGJJ(id: string) {
    return request({
        url: `/billFactGJJ/postDelete/${id}`, method: "post",
    });
}

// 逻辑 删除
export const postLogicDeleteBillFactGJJ = (id) => {
    return request({
        url: `/billFactGJJ/postLogicDelete/${id}`, method: 'post'
    })
}

// 详情
export function billFactGJJDetail(id: string) {
    return request({
        url: `/billFactGJJ/detail/${id}`, method: "post",
    });
}